/**
 * Foxit Software Inc.
 * Copyright(C) 2005-2014, all rights reserved.
 * The following code is copyrighted and contains proprietary information
 * and trade secrets of Foxit Software Inc.

 * Description: IBA_AnnotHandler
 * Author: shaojie zhuo
 * Update: shaojie zhuo (2014-05-07 10:04)
 */

define(function (require, exports, module) {
    /**
     * @description Interface of the mouse event handler.
     * @class Interface of the mouse event handler.
     */
    WebPDF.IBA_AnnotHandler = function () {
    };

    WebPDF.IBA_AnnotHandler.prototype =
    {
    	/**
    	  * @description return the name of the event handler.
    	  * @return {String} the name of the event handler.
    	*/
        getType: function () { return "Interface"; },
        
        canAnswer: function(annot) {return false;},
        /**
         * 检测一个annotation类型是否允许移动
         * @param subType
         * @returns {Boolean}
         */
        canMove: function (subType) {
            return false;
        },
        /**
         * 移动annotation
         * @param pageView
         * @param selectedAnnot
         * @param offsetPDFPt
         */
        moveAnnot: function(pageView, selectedAnnot,
                          offsetX, offsetY ,newPosX, newPosY){
        },
        deleteAnnot: function(pageView, annot){
        },
        onDraw: function(pageView, selectedAnnot, isRedraw, extraScale){
        },
        onSelected: function(pageView, annot){
        },
        onDeSelected: function(pageView, annot){
        },
        onFocus: function(pageView, annot){
        },
        onLButtonDown: function(pageView,annot, event){},
        onLButtonDblClk: function(pageView,annot, event){
        },
        onMouseOver: function(pageView,annot,event){
        },
        onMouseLeave : function (pageView, annot, event) {
        }
    };

    return WebPDF.IBA_AnnotHandler;
});